
import { createApp } from 'vue';
import {
   Empty , Card, Tab, Tabs, Grid, GridItem, Image as VanImage, Icon, Cell, CellGroup, Button, Switch, Circle, Divider, Popover,
    Popup, Area, NavBar, Tag, Overlay, Progress, Search, Collapse, CollapseItem, Loading, List,Slider
} from 'vant';
 import App from './App.vue'
import router from "./router/index.js";
import store from './store/index.js';
import ECharts from 'vue-echarts';


// 2. 引入组件样式
import 'vant/lib/index.css';
import 'mescroll.js/mescroll.min.css';

import 'amfe-flexible'

const app= createApp(App)
app.use(router)  
app.use(store)
app.component('v-chart', ECharts);
app.mount('#app')
// 3. 注册你需要的组件
app.use(Empty);
app.use(Card);
app.use(Tab);
app.use(Tabs);
app.use(Grid);
app.use(GridItem);
app.use(VanImage);
app.use(Icon);
app.use(Cell);
app.use(CellGroup);
app.use(Button);
app.use(Switch);
app.use(Circle);
app.use(Divider);
app.use(Popover);
app.use(Popup);
app.use(Area);
app.use(NavBar);
app.use(Tag);
app.use(Overlay);
app.use(Progress);
app.use(Search);
app.use(Collapse);
app.use(CollapseItem);
app.use(Loading);
app.use(List);
app.use(Slider);